<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/cases/check/";  //应用的地址名
String addCheckNoticeActionName = basePath+"CaseSourceCheck_addCheckNotice.action";
String fileType=request.getAttribute("fileType").toString();
fileType=new String(fileType.getBytes("ISO8859_1"),"UTF-8");

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>检查对象基本情况添加或编辑</title>
<script type="text/javascript">
<!--
           $(function(){
              
               $('#code').validatebox({
                   required:'true',
                   missingMessage:'请输入编号',
                   validType:'length[1,20]'
               });
             
	           //点击添加按钮操作
			   $('#addBtn').click(function(){
				   $('#vcRecordId').val();
                  $('#addForm').submit();
	            });
	            //表单验证及提交处理操作
	           $('#addForm').form({
			        url:'<%=addCheckNoticeActionName%>',
			        onSubmit: function(){
			           if($(this).form('validate')){
			                 $.util.showLoading();
			                 $('#operateWindow').window('close');
                            return true;
			             }else{
			                return false;
			             }
			        },
			        success:function(data){
			            $.util.removeLoading();
                        returnOptMsg(data);
			        }
				});
	           $('#fileTr').css('display',$('#fileTd').html()!=''?"":"none");
			    $('#uploadFile').click(function(){
			    	if($('#uploadFile').css('color')=='gray')
			    		return;
			    	fileupload('fileId','fileName','fileTd','approve',{param:{urlSplit:'&nbsp;'}},function(){
			    		$('#fileTr').css('display',$('#fileTd').html()!=''?"":"none");
			    	});
			    });
	            
           });
//-->
</script>
</head>
<style  type="text/css">
 .tb_add_th td input.lineText {border-bottom:1px solid #ccc; border-top:0px; border-left:0px; border-right:0px; background-color:transparent;}
</style>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form id="addForm" method="post">
<s:hidden id="vcRecordId" name="vcRecordId" value="%{#request.po.vcId}"/>
<s:hidden id="vcFlowId" name="vcFlowId" value="%{#request.po.vcId}"/>
<s:hidden id="fileId" name="fileId"/>
<s:hidden id="fileName" name="fileName"/>
<table align="center" width="100%"  class="tb_add_th">
<tr><th align="left">上传人</th><td><s:property value="#request.userName"/></td>
    <th align="left">上传时间</th><td><s:property value="#request.dtDate"/></td></tr>
<tr>
    <th align="left">案源编号</th><td><s:property value="#request.po.caseNum"/></td>
    <th align="left">纳税人识别号</th><td><s:property value="#request.po.taxpayerNumber"/></td>
</tr>
<tr><th align="left">涉案企业</th><td><s:property value="#request.po.involvedEnterprice"/></td></tr>
 <tr><th align="left"><%=fileType %>：</th><td colspan=3><a id="uploadFile" href="javascript:void(0)">点击上传复印件</a></td></tr>
  <tr id="fileTr" colspan=4><td id="fileTd" colspan="4">
	  <s:property value="" escape="false"/>
	  </td>
  </tr>
</table>
</form>
</body>
</html>


